﻿using mozhi.smarterp.Business.Enums;
using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Business.Purchases.Receipt
{
    public interface IPurchaseReceiptAppService : IApplicationService
    {
        Task<PurchaseReceiptDto> GetAsync(Guid id);

        Task<PurchaseReceiptDto> CreateAsync(PurchaseReceiptCreateDto input);

        Task<PurchaseReceiptDto> UpdateAsync(PurchaseReceiptUpdateDto input);

        Task<PagedResultDto<PurchaseReceiptDto>> GetListAsync(PagedAndSortedResultRequestDto filter);

        Task DeleteAsync(Guid id);

        Task UpdateStatusAsync(Guid id, DocumentStatusType status);

        //Task<bool> PushOrderAsync(Guid id);
    }
}
